<?php /* Smarty version 2.6.20, created on 2017-07-16 14:58:44
         compiled from header.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'label', 'header.htm', 346, false),array('modifier', 'truncate', 'header.htm', 364, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<?php if ($this->_tpl_vars['current'] == 'product'): ?>
	  <title><?php echo $this->_tpl_vars['config']['title']; ?>
</title>
	<?php else: ?>
	  <title><?php if ($this->_tpl_vars['config']['title']): ?><?php echo $this->_tpl_vars['config']['company']; ?>
-<?php echo $this->_tpl_vars['config']['title']; ?>
<?php else: ?><?php echo $this->_tpl_vars['config']['company']; ?>
<?php endif; ?></title>
	<?php endif; ?>
 
    <meta name="keywords" content="<?php echo $this->_tpl_vars['config']['keywords']; ?>
"/>
    <meta name="description" content="<?php echo $this->_tpl_vars['config']['description']; ?>
"/>
    <link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/css/base.css?t=<?php echo $this->_tpl_vars['now_time']; ?>
" rel="stylesheet" media="screen" type="text/css"/>
    <link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/css/headernew.css?t=<?php echo $this->_tpl_vars['now_time']; ?>
" rel="stylesheet" media="screen" type="text/css"/>
    <link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/css/iconfont.css?t=<?php echo $this->_tpl_vars['now_time']; ?>
" rel="stylesheet" media="screen" type="text/css"/>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/jquery-1.8.3.min.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/common.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/layer/layer.min.js?t=<?php echo $this->_tpl_vars['now_time']; ?>
"></script>
    <script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/js/a.js"></script>
</head>
<body>

<!-- 顶部介绍结束 -->
<div class="top">
    <ul>
        <li class="fl txt">
            <?php if (empty ( $this->_tpl_vars['is_login_statu'] )): ?>
            <p><span style="color: rgb(153, 153, 153); font-family: 微软雅黑; font-size: 12px; line-height: 35px; float: left; margin-right: 20px;">HI , 欢迎访问海峡票务</span></p>
            <?php else: ?>
            <p onclick="window.location.href='main.php'"><span style="color: rgb(153, 153, 153); font-family: 微软雅黑; font-size: 12px; line-height: 35px; float: left; cursor: pointer; margin-right: 20px;">HI , <?php echo $this->_tpl_vars['is_login_statu']; ?>
</span></p>
            <?php endif; ?>
            <!--<dl class="header_select_province">-->
                <!--<dt><b class="iconfont"></b><?php echo $this->_tpl_vars['domain']; ?>
<i class="iconfont"></i><span></span></dt>-->
                <!--<dd id="arealist">-->
                    <!--<div class="arealist fn-clear">-->
                        <!--&lt;!&ndash;<div class="dt"></div>&ndash;&gt;-->
                        <!--<div class="dd">-->
                            <!--<?php $_from = $this->_tpl_vars['sub_city']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['vo']):
?>-->
                            <!--<a href="<?php echo $this->_tpl_vars['vo']['top_domain']; ?>
"> <?php if (! empty ( $this->_tpl_vars['vo']['con2'] )): ?> <?php echo $this->_tpl_vars['vo']['con2']; ?>
 <?php else: ?> <?php echo $this->_tpl_vars['vo']['con']; ?>
 <?php endif; ?></a>-->
                            <!--<?php endforeach; endif; unset($_from); ?>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</dd>-->
            <!--</dl>-->

            <?php if (empty ( $this->_tpl_vars['is_login_statu'] )): ?>
            <a class="fl" rel="nofollow" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/login.php">请登录</a>
            <a class="fl" rel="nofollow" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/register.php">注册</a>
            <?php else: ?>
            <a class="fl" rel="nofollow" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?action=logout">退出</a>
            <?php endif; ?>
            <a class="fl" rel="nofollow" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=product&s=admin_buyorder">订单查询</a>

        </li>
        <li class="fr">
            <span id="_userLogin" class="fl"></span>

            <a class="fl" rel="nofollow" href="javascript:void(0);" onClick="ST.Util.addFavourite()">收藏本站</a>
            <!--<a class="fl" rel="nofollow" href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/help.php?action=detail&con_id=16">联系我们</a>-->
            <a class="wb_ico fl" href="http://weibo.com/579533998" target="_blank">官方微博</a>
            <a class="wx_ico fl" href="javascript:;">微信我们</a>

            <div class="wx_img"><p><img src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/wx_gz.jpg" width="124" height="125"/></p></div>
            <div class="top_web_map bor_bag fl">
                <a class="web_nav_ico" href="javascript:;"><s></s>网站导航</a>

                <div class="w_nav_map">
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=product&s=list">热门推荐</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=spot&s=list">演出场馆</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?m=news&s=list">新闻资讯</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=member&s=admin_member">个人资料</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=sns&s=admin_share_product">我的收藏</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=points&s=admin_points">我的积分</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=product&s=admin_consult">我的咨询</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=product&s=admin_credit">我的评价</a>
                    <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php?m=member&s=admin_orderadder">收货地址</a>
                </div>
            </div>
        </li>
    </ul>
</div>
<!-- 顶部介绍结束 -->
<div class="clean_float"></div>
<!-- 通栏广告start -->
<div class="max_ad">
    <script src='<?php echo $this->_tpl_vars['config']['weburl']; ?>
/api/ad.php?id=3&catid=<?php echo $_GET['id']; ?>
&name=<?php echo $_GET['key']; ?>
'></script>
    <span id="ad_close">关闭</span>
</div>

<!-- 通栏广告end -->
<!-- logo and search开始 -->
<div class="big">
    <div class="top_1210">
        <div class="top_mt">
            <div class="logo">
                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
">
                    <img src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/logo_hx.jpg" alt="海峡票务" title="海峡票务" class="fl"/>
                </a>

            </div>

            <div class="dm-citys">
                <div class="dm-citys-change">
                    <span class="dm-ct">全国<i></i></span>
                    <div class="ri-con">
                        <a href="javascript:void(0)" class="ri-close">关闭</a>
                    </div>
                    <div class="clean_float"></div>
                    <div class="bt-infos">
                        <dl class="resent bg-col" id="recentCities" style="">
                            <dt>近期访问&nbsp;&gt;</dt>
                            <dd>
                                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?province=9" target="_blank">上海</a><i>|</i>
                                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=84" target="_blank">太原</a><i>|</i>
                                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=223" target="_blank">济南</a><i>|</i>
                                <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=438" target="_blank">西安</a></dd>
                            <div class="clean_float"></div>
                        </dl>
                        <dl>
                            <dt>华北东北&nbsp;&gt;</dt>
                            <dd>
                                <ul>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?province=1" target="_blank">北京</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=438" target="_blank">西安</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=223" target="_blank">济南</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=84" target="_blank">太原</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=130" target="_blank">哈尔滨</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?province=2" target="_blank">天津</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=240" target="_blank">郑州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=73" target="_blank">石家庄</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=107" target="_blank">沈阳</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=95" target="_blank">呼和浩特</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=121" target="_blank">长春</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=224" target="_blank">青岛</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=292" target="_blank">珠海</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=108" target="_blank">大连</a>

                                    </li>
                                </ul>
                            </dd>
                            <div class="clean_float"></div>
                        </dl>
                        <dl>
                            <dt>华东地区&nbsp;&gt;</dt>
                            <dd>
                                <ul>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?province=9" target="_blank">上海</a>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=162" target="_blank">南京</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=175" target="_blank">杭州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=176" target="_blank">宁波</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=163" target="_blank">无锡</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=177" target="_blank">温州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=166" target="_blank">苏州</a>
                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=165" target="_blank">常州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=186" target="_blank">合肥</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=178" target="_blank">嘉兴</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=164" target="_blank">徐州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=180" target="_blank">绍兴</a>

                                    </li>
                                </ul>
                            </dd>
                            <div class="clean_float"></div>
                        </dl>
                        <dl>
                            <dt>华南地区&nbsp;&gt;</dt>
                            <dd>
                                <ul>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=289" target="_blank">广州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=291" target="_blank">深圳</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=310" target="_blank">南宁</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=294" target="_blank">佛山</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=203" target="_blank">福州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=305" target="_blank">东莞</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=204" target="_blank">厦门</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=324" target="_blank">海口</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=207" target="_blank">泉州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=306" target="_blank">中山</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=299" target="_blank">惠州</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=312" target="_blank">桂林</a>
                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=295" target="_blank">江门</a>
                                    </li>
                                </ul>
                            </dd>
                            <div class="clean_float"></div>
                        </dl>
                        <dl>
                            <dt>中西部&nbsp;&gt;</dt>
                            <dd>
                                <ul>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=385" target="_blank">成都</a>
                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?province=22" target="_blank">重庆</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=258" target="_blank">武汉</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=415" target="_blank">昆明</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=212" target="_blank">南昌</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=275" target="_blank">长沙</a>

                                    </li>
                                    <li>
                                        <a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/?city=45055" target="_blank">贵阳</a>

                                    </li>
                                </ul>
                            </dd>
                            <div class="clean_float"></div>
                        </dl>
                    </div>
                </div>
                <a href=" " class="dm-rec" target="_blank" style="">当前位置<?php echo $this->_tpl_vars['district_name']; ?>
</a>
            </div>

            <div class="all_search">
                <div class="top_search">
                    <s><img class="fl" style="margin-top:4px;" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/default/images/search_ico.png"/></s>

                    <form action="<?php echo $this->_tpl_vars['config']['weburl']; ?>
" method="get">
                        <input type="hidden" name="m" value="product"/>
                        <input type="hidden" name="s" value="list"/>
                        <input class="s_txt g_search" type="text" name="key" value=""/>
                        <input class="s_btn cloud_search" type="submit" value="搜&nbsp;索"/>
                    </form>
                    <div class="searcg_hot">
                        <span>热门搜索：</span>
                        <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'label', 'type' => 'searchword', 'temp' => 'search_word', 'limit' => 8)), $this); ?>

                    </div>
                </div>
            </div>



        </div>
    </div>
</div>
<!-- logo and search结束 -->
<div class="clean_float"></div>
<!-- 导航开始 -->
<?php if ($this->_tpl_vars['current'] == 'index'): ?>
<div class="nav">
    <div class="menu">
        <div class="main_nav_list">
            <?php $_from = $this->_tpl_vars['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nav'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['list']):
        $this->_foreach['nav']['iteration']++;
?>
            <a href="<?php if (((is_array($_tmp=$this->_tpl_vars['list']['link_addr'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 4, '') : smarty_modifier_truncate($_tmp, 4, '')) == 'http'): ?><?php echo $this->_tpl_vars['list']['link_addr']; ?>
<?php else: ?><?php echo $this->_tpl_vars['config']['weburl']; ?>
/<?php echo $this->_tpl_vars['list']['link_addr']; ?>
<?php endif; ?>" <?php if ($this->_tpl_vars['list']['selected_flag'] == $this->_tpl_vars['current']): ?>class="active"<?php endif; ?>
            title="<?php echo $this->_tpl_vars['list']['menu_name']; ?>
"><?php echo $this->_tpl_vars['list']['menu_name']; ?>
</a>
            <?php endforeach; endif; unset($_from); ?>
        </div>
    </div>
</div>
<?php else: ?>
<div class="nav nav_bg">
    <div class="menu">
        <div class="main_nav_list">
            <?php $_from = $this->_tpl_vars['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nav'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['list']):
        $this->_foreach['nav']['iteration']++;
?>
            <a href="<?php if (((is_array($_tmp=$this->_tpl_vars['list']['link_addr'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 4, '') : smarty_modifier_truncate($_tmp, 4, '')) == 'http'): ?><?php echo $this->_tpl_vars['list']['link_addr']; ?>
<?php else: ?><?php echo $this->_tpl_vars['config']['weburl']; ?>
/<?php echo $this->_tpl_vars['list']['link_addr']; ?>
<?php endif; ?>" <?php if ($this->_tpl_vars['list']['selected_flag'] == $this->_tpl_vars['current']): ?>class="active"<?php endif; ?>
            title="<?php echo $this->_tpl_vars['list']['menu_name']; ?>
"><?php echo $this->_tpl_vars['list']['menu_name']; ?>
</a>
            <?php endforeach; endif; unset($_from); ?>
        </div>
    </div>
</div>
<?php endif; ?>
<!-- 导航结束 -->
<div class="clean_float"></div>
<script language="javascript">
    var siteUrl = '/';
    $(function () {
        //导航的选中状态
        $(".nav .menu a").each(function () {
            var url = window.location.href;
            url = url.replace('index.php', '');
            url = url.replace('index.html', '');
            var ulink = $(this).attr("href");
            if (url == ulink) {
                $(this).addClass('active');
                $(this).prev().addClass('bnone');
            }
        })

        //微信指向
        $(".wx_ico").hover(
                function () {
                    $(".wx_img").show();
                },
                function () {
                    $(".wx_img").hide();
                }
        )
        //导航指向
        $(".top_web_map").hover(
                function () {
                    $(".w_nav_map").show();
                },
                function () {
                    $(".w_nav_map").hide();
                }
        )
        hoverCssChange();
    })

    function hoverCssChange() {
        //指向样式
        $(".bor_bag").mouseover(function () {
            $(this).css({"background": "#fff", "border-left": "1px solid #e6e5e5", "border-right": "1px solid #e6e5e5"})
            $(this).children(".web_nav_ico").css("background", "#fff")
        })
        $(".bor_bag").mouseout(function () {
            $(this).css({
                "background": "none",
                "border-left": "1px solid #f1f1f1",
                "border-right": "1px solid #f1f1f1"
            });
            $(this).children(".web_nav_ico").css("background", "#f1f1f1");
        })

    }
    $("#ad_close").on('click', function () {
        $(this).parent().hide('8');
    });


</script>